CC=g++
CFLAGS=-g -c -Wall -O2 -llapack -lblas

out: main.o data.o gaussian.o
	$(CC) main.o data.o gaussian.o -o out
main.o: main.cpp
	$(CC) $(CFLAGS) main.cpp
data.o: data.cpp
	$(CC) $(CFLAGS) data.cpp
gaussian.o: gaussian.cpp
	$(CC) $(CFLAGS) gaussian.cpp
clean:
	rm -f *.o out